home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 April: Mac OS SDK / Dev.CD Apr 00 SDK1.toast / Development Kits / Mac OS / Macintosh Drag and Drop / Demo Applications / DragsAndLists / DragSupport.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-04-04  |  617 b   |  31 lines  |  [TEXT/MPS ]

  1.  
  2.  
  3. #ifndef __DRAGSUPPORT__
  4. #define __DRAGSUPPORT__
  5.  
  6. #include <Drag.h>
  7. #include <Windows.h>
  8.  
  9.  
  10.  
  11.  
  12. struct DragHandlerGlobals {
  13.     Boolean        acceptableDragFlag;
  14.     Boolean        hilitedList;
  15. };
  16. typedef struct DragHandlerGlobals 
  17.             DragHandlerGlobals, *DragHandlerGlobalsPtr;
  18.  
  19.  
  20.  
  21. Boolean DragMgrPresent(void);
  22. OSErr InstallDragHandlers(WindowPtr);
  23. void RemoveDragHandlers(WindowPtr);
  24. Boolean DragItemsAreAcceptable(DragReference);
  25. Boolean DragIsNotInSourceWindow(DragReference);
  26. pascal OSErr DragTracker(DragTrackingMessage, WindowPtr, 
  27.                 void *, DragReference);
  28. pascal OSErr DragReceiver(WindowPtr, void *, DragReference);
  29.  
  30.  
  31. #endif